package com.laiketui.admin.store.service.dubbo.generalProperty;

import com.laiketui.admin.store.api.generalProperty.GeneralPropertyService;
import com.laiketui.common.mapper.GeneralPropertyMapper;
import com.laiketui.domain.generalProperty.GeneralProperty;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GeneralPropertyServiceImpl implements GeneralPropertyService {
    @Autowired
    private GeneralPropertyMapper generalPropertyMapper;

    @Override
    public List<GeneralProperty> selectPropertyByCategories(GeneralProperty generalProperty) {
        List<GeneralProperty> propertyList = generalPropertyMapper.select(generalProperty);
        return propertyList;
    }
}
